package jeecg.system.service;

import org.jeecgframework.core.common.service.CommonService;

import jeecg.system.pojo.base.TSUser;

public interface UserService extends CommonService{

	public TSUser checkUserExits(TSUser user);
	public String getUserRole(TSUser user);
	public void pwdInit(TSUser user, String newPwd);
	/**
	 * 更新用户
	 * @param user
	 * @return
	 */
	public void updateUser(TSUser user);
	
	/**
	 * 查询用户信息
	 * @param userId
	 * @return
	 */
	public TSUser queryUserById(String userId);
	
	public TSUser queryUserByName(String userName);
	
	/**
	 * 更新密码
	 * @param user
	 * @return
	 */
	public void updatePassword(TSUser user);
}
